﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace com.huigo.Framework.BLL
{
    public class Train
    {
        public static bool AddTrain(Model.Train train)
        {
            return SqlServerDal.Train.Insert(train, null);
        }

        public static bool AddTrainList(Model.TrainList trainList)
        {
            return SqlServerDal.TrainList.Insert(trainList, null);
        }

        public static bool AddTrainStation(Model.TrainStation station)
        {
            return SqlServerDal.TrainStation.Insert(station, null);
        }

    }
}
